!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):n.moment=t()}(this,function(){"use strict";function t(){return hf.apply(null,arguments)}function tt(n){return n instanceof Array||"[object Array]"===Object.prototype.toString.call(n)}function li(n){return null!=n&&"[object Object]"===Object.prototype.toString.call(n)}function p(n){return void 0===n}function dt(n){return"number"==typeof n||"[object Number]"===Object.prototype.toString.call(n)}function gi(n){return n instanceof Date||"[object Date]"===Object.prototype.toString.call(n)}function lf(n,t){for(var r=[],i=0;ipi(n)?(e=n+1,o=f-pi(n)):(e=n,o=f),{year:e,dayOfYear:o}}function bi(n,t,i){var u,f,e=yr(n.year(),t,i),r=Math.floor((n.dayOfYear()-e-1)/7)+1;return r<1?u=r+ti(f=n.year()-1,t,i):r>ti(n.year(),t,i)?(u=r-ti(n.year(),t,i),f=n.year()+1):(f=n.year(),u=r),{week:u,year:f}}function ti(n,t,i){var r=yr(n,t,i),u=yr(n+1,t,i);return(pi(n)-r+u)/7}function lu(){function u(n,t){return t.length-n.length}for(var f,e,o,s,h=[],i=[],r=[],t=[],n=0;n<7;n++)f=ft([2e3,1]).day(n),e=this.weekdaysMin(f,""),o=this.weekdaysShort(f,""),s=this.weekdays(f,""),h.push(e),i.push(o),r.push(s),t.push(e),t.push(o),t.push(s);for(h.sort(u),i.sort(u),r.sort(u),t.sort(u),n=0;n<7;n++)i[n]=gt(i[n]),r[n]=gt(r[n]),t[n]=gt(t[n]);this._weekdaysRegex=new RegExp("^("+t.join("|")+")","i");this._weekdaysShortRegex=this._weekdaysRegex;this._weekdaysMinRegex=this._weekdaysRegex;this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i");this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i");this._weekdaysMinStrictRegex=new RegExp("^("+h.join("|")+")","i")}function au(){return this.hours()%12||12}function ae(n,t){r(n,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ve(n,t){return t._meridiemParse}function pe(n){return n?n.toLowerCase().replace("_","-"):n}function pr(n){var t=null;if(!y[n]&&"undefined"!=typeof module&&module&&module.exports)try{t=ki._abbr;require("./locale/"+n);oi(t)}catch(n){}return y[n]}function oi(n,t){var i;return n&&((i=p(t)?pt(n):vu(n,t))?ki=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+n+" not found. Did you forget to load it?")),ki._abbr}function vu(n,t){if(null!==t){var r,i=ye;if(t.abbr=n,null!=y[n])pf("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=y[n]._config;else if(null!=t.parentLocale)if(null!=y[t.parentLocale])i=y[t.parentLocale]._config;else{if(null==(r=pr(t.parentLocale)))return di[t.parentLocale]||(di[t.parentLocale]=[]),di[t.parentLocale].push({name:n,config:t}),null;i=r._config}return y[n]=new ru(wf(i,t)),di[n]&&di[n].forEach(function(n){vu(n.name,n.config)}),oi(n),y[n]}return delete y[n],null}function pt(n){var t;if(n&&n._locale&&n._locale._abbr&&(n=n._locale._abbr),!n)return ki;if(!tt(n)){if(t=pr(n))return t;n=[n]}return function(n){for(var t,i,f,u,r=0;r=t&&af(u,i,!0)>=t-1)break;t--}r++}return ki}(n)}function yu(n){var i,t=n._a;return t&&-2===u(n).overflow&&(i=t[lt]<0||11vr(t[it],t[lt])?ot:t[v]<0||24ti(o,r,e)?u(n)._overflowWeeks=!0:null!=s?u(n)._overflowWeekday=!0:(h=ce(o,f,i,r,e),n._a[it]=h.year,n._dayOfYear=h.dayOfYear)}(n),null!=n._dayOfYear&&(o=si(n._a[it],e[it]),(n._dayOfYear>pi(o)||0===n._dayOfYear)&&(u(n)._overflowDayOfYear=!0),f=wi(o,0,n._dayOfYear),n._a[lt]=f.getUTCMonth(),n._a[ot]=f.getUTCDate()),i=0;i<3&&null==n._a[i];++i)n._a[i]=s[i]=e[i];for(;i<7;i++)n._a[i]=s[i]=null==n._a[i]?2===i?1:0:n._a[i];24===n._a[v]&&0===n._a[rt]&&0===n._a[at]&&0===n._a[ni]&&(n._nextDay=!0,n._a[v]=0);n._d=(n._useUTC?wi:function(n,t,i,r,u,f,e){var o=new Date(n,t,i,r,u,f,e);return n<100&&0<=n&&isFinite(o.getFullYear())&&o.setFullYear(n),o}).apply(null,s);h=n._useUTC?n._d.getUTCDay():n._d.getDay();null!=n._tzm&&n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm);n._nextDay&&(n._a[v]=24);n._w&&void 0!==n._w.d&&n._w.d!==h&&(u(n).weekdayMismatch=!0)}}function we(n){var t,r,o,e,f,s,h=n._i,i=ws.exec(h)||bs.exec(h);if(i){for(u(n).iso=!0,t=0,r=wr.length;t>>0,t=0;ti.valueOf():i.valueOf()this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()};n.isLocal=function(){return!!this.isValid()&&!this._isUTC};n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC};n.isUtc=eo;n.isUTC=eo;n.zoneAbbr=function(){return this._isUTC?"UTC":""};n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""};n.dates=g("dates accessor is deprecated. Use date instead.",ff);n.months=g("months accessor is deprecated. Use month instead",ee);n.years=g("years accessor is deprecated. Use year instead",cu);n.zone=g("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(n,t){return null!=n?("string"!=typeof n&&(n=-n),this.utcOffset(n,t),this):-this.utcOffset()});n.isDSTShifted=g("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var n,t;return p(this._isDSTShifted)?(n={},(tu(n,this),(n=ge(n))._a)?(t=n._isUTC?ft(n._a):c(n._a),this._isDSTShifted=this.isValid()&&0su(n)?(e=n+1,o=f-su(n)):(e=n,o=f),{year:e,dayOfYear:o}}function cu(n,t,i){var u,f,e=vf(n.year(),t,i),r=Math.floor((n.dayOfYear()-e-1)/7)+1;return r<1?u=r+ir(f=n.year()-1,t,i):r>ir(n.year(),t,i)?(u=r-ir(n.year(),t,i),f=n.year()+1):(f=n.year(),u=r),{week:u,year:f}}function ir(n,t,i){var r=vf(n,t,i),u=vf(n+1,t,i);return(su(n)-r+u)/7}function to(){function u(n,t){return t.length-n.length}for(var f,e,o,s,h=[],i=[],r=[],t=[],n=0;n<7;n++)f=ti([2e3,1]).day(n),e=this.weekdaysMin(f,""),o=this.weekdaysShort(f,""),s=this.weekdays(f,""),h.push(e),i.push(o),r.push(s),t.push(e),t.push(o),t.push(s);for(h.sort(u),i.sort(u),r.sort(u),t.sort(u),n=0;n<7;n++)i[n]=nr(i[n]),r[n]=nr(r[n]),t[n]=nr(t[n]);this._weekdaysRegex=new RegExp("^("+t.join("|")+")","i");this._weekdaysShortRegex=this._weekdaysRegex;this._weekdaysMinRegex=this._weekdaysRegex;this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i");this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i");this._weekdaysMinStrictRegex=new RegExp("^("+h.join("|")+")","i")}function io(){return this.hours()%12||12}function ph(n,t){r(n,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function wh(n,t){return t._meridiemParse}function kh(n){return n?n.toLowerCase().replace("_","-"):n}function yf(n){var t=null;if(!y[n]&&"undefined"!=typeof module&&module&&module.exports)try{t=lu._abbr;require("./locale/"+n);ar(t)}catch(n){}return y[n]}function ar(n,t){var i;return n&&((i=p(t)?ci(n):ro(n,t))?lu=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+n+" not found. Did you forget to load it?")),lu._abbr}function ro(n,t){if(null!==t){var r,i=bh;if(t.abbr=n,null!=y[n])ks("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=y[n]._config;else if(null!=t.parentLocale)if(null!=y[t.parentLocale])i=y[t.parentLocale]._config;else{if(null==(r=yf(t.parentLocale)))return au[t.parentLocale]||(au[t.parentLocale]=[]),au[t.parentLocale].push({name:n,config:t}),null;i=r._config}return y[n]=new ye(ds(i,t)),au[n]&&au[n].forEach(function(n){ro(n.name,n.config)}),ar(n),y[n]}return delete y[n],null}function ci(n){var t;if(n&&n._locale&&n._locale._abbr&&(n=n._locale._abbr),!n)return lu;if(!at(n)){if(t=yf(n))return t;n=[n]}return function(n){for(var t,i,f,u,r=0;r=t&&ps(u,i,!0)>=t-1)break;t--}r++}return lu}(n)}function uo(n){var i,t=n._a;return t&&-2===u(n).overflow&&(i=t[ei]<0||11af(t[yt],t[ei])?ii:t[v]<0||24ir(o,r,e)?u(n)._overflowWeeks=!0:null!=s?u(n)._overflowWeekday=!0:(h=vh(o,f,i,r,e),n._a[yt]=h.year,n._dayOfYear=h.dayOfYear)}(t),null!=t._dayOfYear&&(o=vr(t._a[yt],e[yt]),(t._dayOfYear>su(o)||0===t._dayOfYear)&&(u(t)._overflowDayOfYear=!0),f=hu(o,0,t._dayOfYear),t._a[ei]=f.getUTCMonth(),t._a[ii]=f.getUTCDate()),i=0;i<3&&null==t._a[i];++i)t._a[i]=s[i]=e[i];for(;i<7;i++)t._a[i]=s[i]=null==t._a[i]?2===i?1:0:t._a[i];24===t._a[v]&&0===t._a[pt]&&0===t._a[oi]&&0===t._a[tr]&&(t._nextDay=!0,t._a[v]=0);t._d=(t._useUTC?hu:function(n,t,i,r,u,f,e){var o=new Date(n,t,i,r,u,f,e);return n<100&&0<=n&&isFinite(o.getFullYear())&&o.setFullYear(n),o}).apply(null,s);h=t._useUTC?t._d.getUTCDay():t._d.getDay();null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm);t._nextDay&&(t._a[v]=24);t._w&&void 0!==t._w.d&&t._w.d!==h&&(u(t).weekdayMismatch=!0)}}function dh(n){var t,r,o,e,f,s,h=n._i,i=ry.exec(h)||uy.exec(h);if(i){for(u(n).iso=!0,t=0,r=pf.length;t>>0,t=0;ti.valueOf():i.valueOf()this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()};t.isLocal=function(){return!!this.isValid()&&!this._isUTC};t.isUtcOffset=function(){return!!this.isValid()&&this._isUTC};t.isUtc=hc;t.isUTC=hc;t.zoneAbbr=function(){return this._isUTC?"UTC":""};t.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""};t.dates=g("dates accessor is deprecated. Use date instead.",po);t.months=g("months accessor is deprecated. Use month instead",hh);t.years=g("years accessor is deprecated. Use year instead",no);t.zone=g("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(n,t){return null!=n?("string"!=typeof n&&(n=-n),this.utcOffset(n,t),this):-this.utcOffset()});t.isDSTShifted=g("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var n,t;return p(this._isDSTShifted)?(n={},(ae(n,this),(n=ic(n))._a)?(t=n._isUTC?ti(n._a):c(n._a),this._isDSTShifted=this.isValid()&&0